package com.huawei.struts.exception;

public class SystemException extends RuntimeException {
	private static final long serialVersionUID = 1L;
	 
	 
	 private String errorCode;
	 
	 private Object[] args;
	 
	 public SystemException(String errorCode) {
	  this(errorCode, null);
	 }
	 
	 public SystemException(String errorCode,Object arg0) {
	  this(errorCode, new Object[]{arg0});
	 }
	 
	 public SystemException(String errorCode, Object[] args) {
	  this.errorCode = errorCode;
	  this.args = args;
	 }
	 
	 public String getErrorCode() {
	  return errorCode;
	 }
	 public Object[] getArgs() {
	  return args;
	 }



}
